//
//  AppHeader.h
//  FlyGift
//
//  Created by lanou3g on 15/7/11.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#ifndef FlyGift_AppHeader_h
#define FlyGift_AppHeader_h
/**
 *  程序宏
 */

#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height
#define kP6width(a) (a  * kScreenWidth / 375.0)
#define kP6Height(a) (a  * kScreenHeight / 667.0)

// RGB颜色
#define KColor(r, g, b ,a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)]
// 随机色
#define KRandomColor(a) KColor(arc4random_uniform(256), arc4random_uniform(256), arc4random_uniform(256),(a))
// 主色调
#define kMainColor KColor(255, 140, 179, 1.0)

#define kListBarH 30
#define kArrowW 40
#define kAnimationTime 0.8

typedef enum{
    topViewClick = 0,
    FromTopToTop = 1,
    FromTopToTopLast = 2,
    FromTopToBottomHead = 3,
    FromBottomToTopLast = 4
} animateType;



#pragma mark --- M
#import "ScrollModel.h"
#import "DefaultTableModel.h"
#import "NetWork.h"
// 单品区域
#import "SingleProductModel.h"
#import "GiftModel.h"
#import "ChannelsModel.h"
#import "SubcategoriesModel.h"
#import "BannerModel.h"

#pragma mark --- V
#import "ScrollView.h"
#import "DefaultViewTableViewCell.h"
#import "MainClassCollectionViewCell.h"
#import "ListBar.h"
#import "YGArrow.h"
#import "DeleteBar.h"
#import "DetailsList.h"
#import "ListItem.h"
#import "Scroller.h"

// 单品区域
#import "SingleProductCellOne.h"
#import "SingleProductCellTwo.h"
#import "WaterflowLayout.h"
// 分类
#import "ChooseGiftView.h" // 选礼神器
#import "GiftLeftTableViewCell.h" // 分类礼物下的tableViewCell
#import "ImageViewLabelCollectionViewCell.h"
#import "DisplayHeaderCollectionReusableView.h" // 分类礼物下的collectionViewCell的自定义表头
#import "BannerView.h"
#import "GuideHeaderCollectionReusableView.h" // 攻略页面下的header
#import "BannerCollectionViewCell.h"

#pragma mark --- C
#import "BaseTabBarController.h"
#import "MainClassViewController.h"
// 单品
#import "RecommendTableViewController.h"
#import "SingleProductViewController.h"
#import "MyGiftViewController.h"
#import "SetupTableViewController.h"
#import "DefaultViewController.h"
#import "ClassesViewController.h"
// 分类
#import "GuideViewController.h"
#import "GiftViewController.h"
#import "SortsOfGiftViewController.h"







#endif
